package com.mdxx.xczd.db.dao;

import android.content.ContentValues;

import java.util.List;
import java.util.Map;

public interface IServerDAO extends IDAO {
	
	public boolean add(String sql);
	
	public boolean add(String table, ContentValues values);
	
	public String queryValue(String sql); 
	
	public String queryValue(String table, String[] columns, String key, String value);
	
	public String querySingle(String sql);
	
	public boolean delete(String sql);
	
	public boolean delete(String table, String key, String value);
	
	public List<Map<String, String>> queryMulti(String table, String[] columns, String whereClause, String[] selectionArgs, String groupBy, String having, String orderBy, String limit);
	
	public <T> List<T> queryMulti(String sql);
	
	public boolean update(String sql);
}
